
<html><HEAD>
<LINK REL=STYLESHEET HREF="default.css" TYPE="text/css">
<TITLE>
About MAPI</TITLE>
</HEAD>
<BODY>

<!-- Header -->
<p class="ancestor" align="right"><A HREF="apptechp120.htm">Previous</A>&nbsp;&nbsp;<A HREF="apptechp122.htm" >Next</A>
<!-- End Header -->
<A NAME="BFCCEEEG"></A><h1>About MAPI</h1>
<A NAME="TI3717"></A><p>PowerBuilder supports MAPI (messaging application program
interface), so you can enable your applications to send and receive
messages using any MAPI-compliant electronic mail system.</p>
<A NAME="TI3718"></A><p>For example, your PowerBuilder applications can:<A NAME="TI3719"></A>
<ul>
<li class=fi>Send mail with the results
of an analysis performed in the application</li>
<li class=ds>Send mail when a particular action is taken by the
user</li>
<li class=ds>Send mail requesting information</li>
<li class=ds>Receive mail containing information needed by the
application's user
</li>
</ul>
</p>
<A NAME="TI3720"></A><h4>How MAPI support is implemented</h4>
<A NAME="TI3721"></A><p>To support MAPI, PowerBuilder provides the items listed in <A HREF="apptechp121.htm#BABHDDFF">Table 20-1</A>. </p>
<A NAME="BABHDDFF"></A><table cellspacing=0 cellpadding=6 border=1 frame="void" rules="all"><caption>Table 20-1: PowerBuilder MAPI support</caption>
<tr><th  rowspan="1"  ><A NAME="TI3722"></A>Item</th>
<th  rowspan="1"  ><A NAME="TI3723"></A>Name</th>
</tr>
<tr><td  rowspan="1"  ><A NAME="TI3724"></A>A mail-related system object</td>
<td  rowspan="1"  ><A NAME="TI3725"></A><A NAME="TI3726"></A>
<ul>
<li class=fi>MailSession
</li>
</ul>
</td>
</tr>
<tr><td  rowspan="1"  ><A NAME="TI3727"></A>Mail-related structures</td>
<td  rowspan="1"  ><A NAME="TI3728"></A><A NAME="TI3729"></A>
<ul>
<li class=fi>MailFileDescription</li>
<li class=ds>MailMessage</li>
<li class=ds>MailRecipient
</li>
</ul>
</td>
</tr>
<tr><td  rowspan="1"  ><A NAME="TI3730"></A>Object-level functions for the MailSession
object</td>
<td  rowspan="1"  ><A NAME="TI3731"></A><A NAME="TI3732"></A>
<ul>
<li class=fi><b>MailAddress</b></li>
<li class=ds><b>MailDeleteMessage</b></li>
<li class=ds><b>MailGetMessages</b></li>
<li class=ds><b>MailHandle</b></li>
<li class=ds><b>MailLogoff</b></li>
<li class=ds><b>MailLogon</b></li>
<li class=ds><b>MailReadMessage</b></li>
<li class=ds><b>MailRecipientDetails</b></li>
<li class=ds><b>MailResolveRecipient</b></li>
<li class=ds><b>MailSaveMessage</b></li>
<li class=ds><b>MailSend</b>
</li>
</ul>
</td>
</tr>
<tr><td  rowspan="1"  ><A NAME="TI3733"></A>Enumerated datatypes</td>
<td  rowspan="1"  ><A NAME="TI3734"></A><A NAME="TI3735"></A>
<ul>
<li class=fi><b>MailFileType</b></li>
<li class=ds><b>MailLogonOption</b></li>
<li class=ds><b>MailReadOption</b></li>
<li class=ds><b>MailRecipientType</b></li>
<li class=ds><b>MailReturnCode</b>
</li>
</ul>
</td>
</tr>
</table>

